package hos.po;

public class Staff {
	private int s_age;
	private String s_id;
	private String depart_id;
	private String s_name;
	private String s_gender;
	private String s_tel;
	private String s_job;
	private String pwd;
	public String getMessage(int i) {
		switch(i) {
		case 0:
			return s_id;
		case 1:
			return s_name;
		case 2:
			return s_gender;
		case 3:
			return s_tel;
		case 4:
			return String.valueOf(s_age);
		case 5:
			return s_job;
		case 6:
			return depart_id;
		default:
			return "no message";
		}
	}
	public int getS_age() {
		return s_age;
	}
	public void setS_age(int s_age) {
		this.s_age = s_age;
	}
	public String getS_id() {
		return s_id;
	}
	public void setS_id(String s_id) {
		this.s_id = s_id;
	}
	public String getDepart_id() {
		return depart_id;
	}
	public void setDepart_id(String depart_id) {
		this.depart_id = depart_id;
	}
	public String getS_name() {
		return s_name;
	}
	public void setS_name(String s_name) {
		this.s_name = s_name;
	}
	public String getS_gender() {
		return s_gender;
	}
	public void setS_gender(String s_gender) {
		this.s_gender = s_gender;
	}
	public String getS_tel() {
		return s_tel;
	}
	public void setS_tel(String s_tel) {
		this.s_tel = s_tel;
	}
	public String getS_job() {
		return s_job;
	}
	public void setS_job(String s_job) {
		this.s_job = s_job;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	
}
